home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 49 / Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso / -serious- / misc / mmulib / include / mmu_lib.fd < prev   
Text File  |  1999-11-29  |  3KB  |  82 lines

  1. *-----------------------------------------------------------------
  2. *-- MMU.library                                                 --
  3. *-- © 1998,1999 the mmu.library development group, THOR-Software--
  4. *--                                                             --
  5. *-- Library header file Version 40.50                           --
  6. *--                                                             --
  7. *-- created 18 Oct 1998 THOR,   Thomas Richter                  --
  8. *--     Modifications:                                          --
  9. *--                                                             --
  10. *-- 40.50:    Final release,    31 Oct 1999, Thomas Richter    --
  11. *-----------------------------------------------------------------
  12. ##base _MMUBase
  13. ##bias 30
  14. ##public
  15. AllocAligned(bytesize,reqments,alignment)(d0,d1,a0)
  16. GetMapping(ctx)(a0)
  17. ReleaseMapping(ctx,list)(a0,a1)
  18. GetPageSize(ctx)(a0)
  19. GetMMUType()()
  20. ##private
  21. GetMMUConfig()()
  22. ReleaseMMUConfig(mfc)(a1)
  23. ##public
  24. LockMMUContext(ctx)(a0)
  25. UnlockMMUContext(ctx)(a0)
  26. SetPropertiesA(ctx,flags,mask,lower,size,tags)(a0,d1,d2,a1,d0,a2)
  27. GetPropertiesA(ctx,lower,tags)(a0,a1,a2)
  28. RebuildTree(ctx)(a0)
  29. SetPagePropertiesA(ctx,flags,mask,lower,tags)(a0,d1,d2,a1,a2)
  30. GetPagePropertiesA(ctx,lower,tags)(a0,a1,a2)
  31. CreateMMUContextA(tags)(a0)
  32. DeleteMMUContext(ctx)(a0)
  33. ##private
  34. AllocLineMem(bytesize,reqments)(d0,d1)
  35. ##public
  36. AllocLineVec(bytesize,reqments)(d0,d1)
  37. PhysicalPageLocation(ctx,addr)(a0,a1)
  38. SuperContext(ctx)(a0)
  39. DefaultContext()()
  40. EnterMMUContext(ctx,task)(a0,a1)
  41. LeaveMMUContext(task)(a1)
  42. AddContextHookA(tags)(a0)
  43. RemContextHook(hook)(a1)
  44. AddMessageHookA(tags)(a0)
  45. RemMessageHook(hook)(a1)
  46. ActivateException(hook)(a1)
  47. DeactivateException(hook)(a1)
  48. AttemptLockMMUContext(ctx)(a0)
  49. LockContextList()()
  50. UnlockContextList()()
  51. AttemptLockContextList()()
  52. SetPropertyList(ctx,list)(a0,a1)
  53. TouchPropertyList(list)(a1)
  54. CurrentContext(task)(a1)
  55. DMAInitiate(ctx,addrptrptr,lengthptr,write)(d1,a0,a1,d0)
  56. DMATerminate(ctx)(d1)
  57. PhysicalLocation(ctx,addrptrptr,lengthptr)(d1,a0,a1)
  58. RemapSize(ctx)(a0)
  59. WithoutMMU(func)(a5)
  60. SetBusError(func,oldfuncptr)(a0,a1)
  61. GetMMUContextData(ctx,tagid)(a0,d0)
  62. SetMMUContextDataA(ctx,tags)(a0,a1)
  63. NewMapping()()
  64. CopyMapping(from,to,base,length,mask)(a0,a1,d0,d1,d2)
  65. DupMapping(list)(a0)
  66. CopyContextRegion(ctx,list,base,length,mask)(a0,a1,d0,d1,d2)
  67. SetPropertiesMapping(ctx,list,base,length,mask)(a0,a1,d0,d1,d2)
  68. SetMappingPropertiesA(list,flags,mask,lower,size,tags)(a0,d1,d2,a1,d0,a2)
  69. GetMappingPropertiesA(list,lower,tags)(a0,a1,a2)
  70. BuildIndirect(ctx,address,props)(a0,d0,d1)
  71. SetIndirect(destination,logical,descriptor)(a0,a1,d0)
  72. GetIndirect(ctx,adt,address)(a0,a1,d0)
  73. ##private
  74. ** The next calls are really, really private. They may even vanish from here
  75. ** in a future release, so don't depent on this.
  76. SwitchControl(oldswitch)(a0)
  77. AddTransparentTranslation()()
  78. OrTransparentTranslation()()
  79. CallExceptoinHandlers()()
  80. SubUser()()
  81. ##end
  82.